<html>
<head>
  <title>CMS: <%= controller.action_name %></title>
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag "menu_for_applications/menu-for-applications" %>
  <%= stylesheet_link_tag 'menu_for_applications/menu-bar' %>
  <%= stylesheet_link_tag 'menu_for_applications/menu-item' %>
  <%#### active_scaffold_includes ####%>
  <%= stylesheet_link_tag 'principal' %>
  
  <% # Include TinyMCE before other JS to avoid problems -%>
  <%= javascript_include_tiny_mce_if_used %>
  <%= tiny_mce if using_tiny_mce? %>
</head>
<body>

<table class=tabela_principal>
  <tr>
    <td class=topo>
      Fluxos 
      <%= render_component :controller => 'sessions', :action => 'bloco_usuario' %>
    </td>
    <td>
 
      <%= form_tag("/pesquisa/pesquisar/")%>
      <%= text_field_tag 'texto'  %>
      <%= submit_tag 'Pesquisar' %>
      </form>
    </td>
  </tr>
  <tr>
    <td colspan = 2>
      <div id=mensagem_flash><%= flash[:notice] %><%= flash[:error] %></div>
    </td>
  </tr>
  <tr>
    <td colspan = 2 class=menu>
      <%= render_component :controller => 'ca_menu', :action => 'principal' %>
    </td>
  </tr>
  <tr>
    <td colspan = 2 class=conteudo><%= @content_for_layout %></td>
  </tr>
  <tr>
    <td colspan = 2 align=right >direitos reservados: Bruno Reis</td>
  </tr>
</table>
</body>
</html>